package com.woniu.repaircenter.models.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "添加公告表单")
public class AddRepairNoticeForm {
    /**
     * 公告标题
     */
    @ApiModelProperty(value = "公告标题")
    @NotBlank(message = "公告标题不能为空")
    private String noticeTitle;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容")
    @NotBlank(message = "公告内容不能为空")
    private String noticeContent;

}
